//
//  TTMineViewModel.h
//  TaoTuo
//
//  Created by admin on 2019/10/17.
//  Copyright © 2019 admin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TTMineItemModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface TTMineViewModel : NSObject

@property (nonatomic, copy) NSString *sectionTitle;
@property (nonatomic, copy) NSString *btnTitle;
@property (nonatomic, strong) id target;
@property (nonatomic, assign) SEL action;
@property (nonatomic, assign) UIRectCorner corner;

@property (nonatomic, strong) NSArray<TTMineItemModel *> *itemModelArray;

+ (instancetype)setModelWithSectionTitle:(NSString *)sectionTitle  itemArray:(NSArray<TTMineItemModel *> *)itemArray;

+ (instancetype)setModelWithSectionTitle:(NSString *)sectionTitle btnTitle:(nullable NSString *)btnTitle target:(nullable id)target action:(nullable SEL)action itemArray:(NSArray<TTMineItemModel *> *)itemArray;

@end

NS_ASSUME_NONNULL_END
